- 
		Home
	
- 
Bizuno ERP/Accounting
- 
6.5.8.1
- 
Code
- 
Classes
-  Salsa20 
		
			
				
					
													
								
																			
											| Total Complexity | 50 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 500 | 
																			
											| Lines of code | 228 | 
																			
											| Logical lines of code | 129 | 
																	
							 
													
								
																			
											| Comment lines | 202 | 
																			
											| Methods | 17 | 
																			
											| Properties | 7 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| crypt() | B | 37 | 14 | 79 | 
					
				| setup() | A | 48 | 7 | 32 | 
					
				| createPoly1305Key() | S | 57 | 4 | 16 | 
					
				| decrypt() | S | 59 | 4 | 14 | 
					
				| setKey() | S | 64 | 3 | 10 | 
					
				| salsa20() | S | 62 | 3 | 10 | 
					
				| poly1305() | S | 62 | 2 | 12 | 
					
				| leftRotate() | S | 62 | 2 | 11 | 
					
				| setNonce() | S | 66 | 2 | 8 | 
					
				| encrypt() | S | 68 | 2 | 7 | 
					
				| usesNonce() | S | 82 | 1 | 3 | 
					
				| setCounter() | S | 77 | 1 | 4 | 
					
				| setupKey() | S | 91 | 1 | 2 | 
					
				| encryptBlock() | S | 91 | 1 | 2 | 
					
				| decryptBlock() | S | 91 | 1 | 2 | 
					
				| quarterRound() | S | 68 | 1 | 6 | 
					
				| doubleRound() | S | 62 | 1 | 10 |